caption: lookup
created: 20170907103639431
modified: 20170907144703051
op-input: a [[selection of titles|Title Selection]]
op-output: the lookup values corresponding to each input title
op-parameter: prefix applied to input titles to yield title of lookup tiddler from which value is retrieved
op-parameter-name: P
op-purpose: applies a prefix to each input title to yield the title of a tiddler from which the final value is retrieved
op-suffix: the default value to be used for missing lookups
op-suffix-name: D
tags: [[Filter Operators]]
title: lookup Operator
type: text/vnd.tiddlywiki

<<.from-version "5.1.14">>

The action of this operator is as follows:

* Apply the specified prefix to each input tiddler title, yielding a new list of tiddler titles
* Transclude the value of each of those tiddlers
** Substitute the default value for missing or empty tiddlers
* Return the list of values

<<.operator-examples "lookup">>
